﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Matrix.MaKaYunShang.Model.Wechat
{
    public class WeChatUploadMediaResult
    {
        /// <summary>
        ///  媒体文件类型，分别有图片（image）、语音（voice）、视频（video）和缩略图（thumb，主要用于视频与音乐格式的缩略图）
        /// </summary>
        [DataMember(Name = "type")]
        [Display(Name = "type")]
        public string type { get; set; }

        /// <summary>
        /// 媒体文件上传后，获取时的唯一标识
        /// </summary>
        [DataMember(Name = "media_id")]
        [Display(Name = "media_id")]
        public string media_id { get; set; }

        /// <summary>
        /// 媒体文件上传时间戳
        /// </summary>
        [DataMember(Name = "created_at")]
        [Display(Name = "created_at")]
        public int created_at { get; set; }
    }

}
